Skip to content

Conversation

@matheusfelipeog
Copy link
Contributor

@mroeschke mroeschke added IO HTML read_html, to_html, Styler.apply, Styler.applymap Typing type annotations, mypy/pyright type checking labels Oct 16, 2023
@mroeschke mroeschke added this to the 2.2 milestone Oct 16, 2023
@mroeschke mroeschke merged commit 5bfb41f into pandas-dev:main Oct 16, 2023
@mroeschke
Copy link
Member

Thanks @matheusfelipeog

@matheusfelipeog matheusfelipeog deleted the typ/add-html-flavors branch November 2, 2023 03:53
Dr-Irv pushed a commit to pandas-dev/pandas-stubs that referenced this pull request Nov 2, 2023
* Fix flavor param with incorrect type hint in read_html

refs:
- pandas-dev/pandas#55059
- pandas-dev/pandas#55076

* Add HTMLFlavors type to read_html

ref: pandas-dev/pandas#55529

* Add tests and new dev dependencies

Added:
- tests to check HTMLFlavors type in read_html flavor arg;
- set beautifulsoup4 and html5lib as dev dependencies. They are used
by the respective flavors in read_html.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

IO HTML read_html, to_html, Styler.apply, Styler.applymap Typing type annotations, mypy/pyright type checking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants